  if(localStorage.getItem("uid"))
  {
     $('#userlink').html(localStorage.getItem("name")); 
  }else
  {

     location.href='login.html';
  }
  
   



